//
//  UtilsMacros.h
//  BlackBambooCM-OC
//
//  Created by 宜凯门-DKang on 2018/9/17.
//  Copyright © 2018年 ucanmax. All rights reserved.
//

#ifndef UtilsMacros_h
#define UtilsMacros_h
/**
 颜色
 */

/**
 白色 whiteColor
 */
#define UCMWhiteColor  [UIColor whiteColor]
#define UCMBlackColor  [UIColor blackColor]
#define UCMMainBlackColor [UIColor colorWithRed:77/255.0f green:73/255.0f blue:72/255.0f alpha:1]
#define UCMTopNavViewBlackColor [UIColor colorWithRed:37/255.0f green:37/255.0f blue:37/255.0f alpha:1]
#define UCMMainTabBarUnSelectedColor [UIColor whiteColor]
#define UCMMainTabBarSelectedColor [UIColor colorWithRed:212/255.0f green:0/255.0f blue:119/255.0f alpha:1]
/**
 字体
 */
#define PFR20Font [UIFont systemFontOfSize:20];
#define PFR18Font [UIFont systemFontOfSize:18];
#define PFR16Font [UIFont systemFontOfSize:16];
#define PFR15Font [UIFont systemFontOfSize:15];
#define PFR14Font [UIFont systemFontOfSize:14];
#define PFR13Font [UIFont systemFontOfSize:13];
#define PFR12Font [UIFont systemFontOfSize:12];
#define PFR11Font [UIFont systemFontOfSize:11];
#define PFR10Font [UIFont systemFontOfSize:10];
#define PFR9Font [UIFont systemFontOfSize:9];
#define PFR8Font [UIFont systemFontOfSize:8];
/**
 property 属性快速声明
 */
#define PropertyString(s) @property (nonatomic,copy) NSString * s
#define PropertyNSInteger(s) @property (nonatomic,assign) NSInteger  s
#define PropertyFloat(s) @property (nonatomic,assign) float  s
#define PropertyLongLong(s) @property(nonatomic,assign)long long s
#define PropertyNSDictionary(s) @property (nonatomic,strong) NSDictionary * s
#define PropertyNSArray(s) @property (nonatomic,strong) NSArray * s
#define PropertyNSMutableArray(s) @property (nonatomic,strong) NSMutableArray * s

/**
 屏幕宽度
 */
#define UCMScreenWidth [[UIScreen mainScreen] bounds].size.width
/**
 屏幕高度
 */
#define UCMScreenHeight [[UIScreen mainScreen] bounds].size.height
/**
 字体
 */
#define BOLDSYSTEMFONT(FONTSIZE)[UIFont boldSystemFontOfSize:FONTSIZE]
#define SYSTEMFONT(FONTSIZE)    [UIFont systemFontOfSize:FONTSIZE]
#endif /* UtilsMacros_h */

//色值
#define RGBA(r,g,b,a) [UIColor colorWithRed:r/255.0f green:g/255.0f blue:b/255.0f alpha:a]
#define RGB(r,g,b) RGBA(r,g,b,1.0f)

#define CMMargin 10
/** 弱引用 */
#define WEAKSELF __weak typeof(self) weakSelf = self;

#define NetworkBaseURLStr @"http://192.168.0.8:8088"

#define UserToken @"3f95b811cc940ff9eee8c6153c51730c"
#define UserTokenKey @"token"

#define FONT(s)       [UIFont systemFontOfSize:s]

#define BackgroundColor [UIColor colorWithRed:240/255.0f green:240/255.0f blue:244/255.0f alpha:1]
#define SelectColor     [UIColor colorWithRed:212/255.0f green:0/255.0f blue:119/255.0f alpha:1]
#define TimeString @"timeString"

//USER
#define BBSTOKEN @"token"
